package com.yanqu.road.entity.log.cross.chuhan;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_chuhan_camp_rank", desc = "楚汉争霸-阵营榜单", dataUpload = true, autoSave = true, uploadCk = true, isCross = true, eventName = "chuhan_score")
public class LogChuHanCampRank extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "商会活动分组ID", dataAttribute = "group_id")
    private int groupId;
    @FieldTypeAnnotation(desc = "阵营", dataAttribute = "team_id")
    private int camp;
    @FieldTypeAnnotation(desc = "阵营排名", dataAttribute = "get_num")
    private int campRank;
    @FieldTypeAnnotation(desc = "阵营积分", dataAttribute = "after_score")
    private long campScore;

    public LogChuHanCampRank(int activityId, int groupId, int camp, int campRank, long campScore) {
        this.activityId = activityId;
        this.groupId = groupId;
        this.camp = camp;
        this.campRank = campRank;
        this.campScore = campScore;
    }

    @Override
    public long getUserId() {
        return 0;
    }
}
